package com.ruoyi.ewem.feign;

import com.ruoyi.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: cy
 * @Date: 2024/7/30 14:41
 */
@Component
@FeignClient(name = "ruoyi-system",path = "/user")
public interface UserFeignClient {

    @GetMapping("/getDrivers")
    TableDataInfo getDrivers();

}
